package ABBB;

public class Zhineng extends Phone{
    public Zhineng(String brand, String xinghao) {
        super(brand, xinghao);
    }


    @Override
    public void shangwang() {
        System.out.println(super.getBrand()+"品牌的手机可以上网");
    }

    @Override
    public void takephone() {
        System.out.println(super.getBrand()+"品牌的手机可以打电话");
    }

}
